<?php
ini_set('error_reporting', 'E_ALL & ~E_DEPRECATED');
require_once 'simpletest/unit_tester.php';
require_once 'simpletest/reporter.php';
require_once dirname(__FILE__) . '/../Request/Request.php';

///Calendar/i2?ymd=20100730&XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=13278054901901

class RequestTest extends UnitTestCase
{
	public function Test1100()
	{
		$objRequest = new Lib_Request();
		$_SERVER['QUERY_STRING']
		= 'Calendar/i2?ymd=20100730&XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=13278054901901';
//		$RET = $objRequest->replaceQueryString(array('KEY'=>'abc'));
//		$this->assertEqual($RET,
//				'ymd=20100730&XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=abc');
	}
}